<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">
<h:body>

	<p:panel header="Dados do Veiculo">
		<h:panelGrid columns="1" columnClasses="label, value"
			styleClass="grid">

			<h:outputText value="Placa do Carro:*" />
			<h:panelGrid columns="2">
				<p:inputMask id="placa" mask="a**-9999" required="true" label="Falta preencher"
					value="#{veiculoAction.veiculo.placaPolicial}" size="8" title="Digite a placa do veiculo"/>
				<p:message for="placa" display="icon"/>

			</h:panelGrid>

			<h:outputText value="Km :*" />
			<h:panelGrid columns="2">
				<p:inputText id="km" title="Digite a kilometragem do veiculo" required="true" label="Falta preencher"
					value="#{veiculoAction.veiculo.km}" size="40" />
				<p:message for="km" display="icon"/>
			</h:panelGrid>
			
			
			<h:outputText value="Data da Manutenção: " />
				<p:calendar value="#{veiculoAction.veiculo.dataExecutada}"
				mode="popup" navigator="true" size="08" pattern="dd.MM.yyyy">
			</p:calendar>
				


		</h:panelGrid>
		<h:panelGrid columns="2">
		<h:outputLabel value="Ir para o final" />
		<p:selectBooleanCheckbox value="#{veiculoAction.skip}"/>
		</h:panelGrid>
	</p:panel>

</h:body>
</html>